package com.onedec.deptassemble.entity;

import java.util.ArrayList;
import java.util.List;

public class OnedecEmpExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public OnedecEmpExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andEmpIdIsNull() {
            addCriterion("emp_id is null");
            return (Criteria) this;
        }

        public Criteria andEmpIdIsNotNull() {
            addCriterion("emp_id is not null");
            return (Criteria) this;
        }

        public Criteria andEmpIdEqualTo(Integer value) {
            addCriterion("emp_id =", value, "empId");
            return (Criteria) this;
        }

        public Criteria andEmpIdNotEqualTo(Integer value) {
            addCriterion("emp_id <>", value, "empId");
            return (Criteria) this;
        }

        public Criteria andEmpIdGreaterThan(Integer value) {
            addCriterion("emp_id >", value, "empId");
            return (Criteria) this;
        }

        public Criteria andEmpIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("emp_id >=", value, "empId");
            return (Criteria) this;
        }

        public Criteria andEmpIdLessThan(Integer value) {
            addCriterion("emp_id <", value, "empId");
            return (Criteria) this;
        }

        public Criteria andEmpIdLessThanOrEqualTo(Integer value) {
            addCriterion("emp_id <=", value, "empId");
            return (Criteria) this;
        }

        public Criteria andEmpIdIn(List<Integer> values) {
            addCriterion("emp_id in", values, "empId");
            return (Criteria) this;
        }

        public Criteria andEmpIdNotIn(List<Integer> values) {
            addCriterion("emp_id not in", values, "empId");
            return (Criteria) this;
        }

        public Criteria andEmpIdBetween(Integer value1, Integer value2) {
            addCriterion("emp_id between", value1, value2, "empId");
            return (Criteria) this;
        }

        public Criteria andEmpIdNotBetween(Integer value1, Integer value2) {
            addCriterion("emp_id not between", value1, value2, "empId");
            return (Criteria) this;
        }

        public Criteria andEmpNameIsNull() {
            addCriterion("emp_name is null");
            return (Criteria) this;
        }

        public Criteria andEmpNameIsNotNull() {
            addCriterion("emp_name is not null");
            return (Criteria) this;
        }

        public Criteria andEmpNameEqualTo(String value) {
            addCriterion("emp_name =", value, "empName");
            return (Criteria) this;
        }

        public Criteria andEmpNameNotEqualTo(String value) {
            addCriterion("emp_name <>", value, "empName");
            return (Criteria) this;
        }

        public Criteria andEmpNameGreaterThan(String value) {
            addCriterion("emp_name >", value, "empName");
            return (Criteria) this;
        }

        public Criteria andEmpNameGreaterThanOrEqualTo(String value) {
            addCriterion("emp_name >=", value, "empName");
            return (Criteria) this;
        }

        public Criteria andEmpNameLessThan(String value) {
            addCriterion("emp_name <", value, "empName");
            return (Criteria) this;
        }

        public Criteria andEmpNameLessThanOrEqualTo(String value) {
            addCriterion("emp_name <=", value, "empName");
            return (Criteria) this;
        }

        public Criteria andEmpNameLike(String value) {
            addCriterion("emp_name like", value, "empName");
            return (Criteria) this;
        }

        public Criteria andEmpNameNotLike(String value) {
            addCriterion("emp_name not like", value, "empName");
            return (Criteria) this;
        }

        public Criteria andEmpNameIn(List<String> values) {
            addCriterion("emp_name in", values, "empName");
            return (Criteria) this;
        }

        public Criteria andEmpNameNotIn(List<String> values) {
            addCriterion("emp_name not in", values, "empName");
            return (Criteria) this;
        }

        public Criteria andEmpNameBetween(String value1, String value2) {
            addCriterion("emp_name between", value1, value2, "empName");
            return (Criteria) this;
        }

        public Criteria andEmpNameNotBetween(String value1, String value2) {
            addCriterion("emp_name not between", value1, value2, "empName");
            return (Criteria) this;
        }

        public Criteria andEmpTelIsNull() {
            addCriterion("emp_tel is null");
            return (Criteria) this;
        }

        public Criteria andEmpTelIsNotNull() {
            addCriterion("emp_tel is not null");
            return (Criteria) this;
        }

        public Criteria andEmpTelEqualTo(String value) {
            addCriterion("emp_tel =", value, "empTel");
            return (Criteria) this;
        }

        public Criteria andEmpTelNotEqualTo(String value) {
            addCriterion("emp_tel <>", value, "empTel");
            return (Criteria) this;
        }

        public Criteria andEmpTelGreaterThan(String value) {
            addCriterion("emp_tel >", value, "empTel");
            return (Criteria) this;
        }

        public Criteria andEmpTelGreaterThanOrEqualTo(String value) {
            addCriterion("emp_tel >=", value, "empTel");
            return (Criteria) this;
        }

        public Criteria andEmpTelLessThan(String value) {
            addCriterion("emp_tel <", value, "empTel");
            return (Criteria) this;
        }

        public Criteria andEmpTelLessThanOrEqualTo(String value) {
            addCriterion("emp_tel <=", value, "empTel");
            return (Criteria) this;
        }

        public Criteria andEmpTelLike(String value) {
            addCriterion("emp_tel like", value, "empTel");
            return (Criteria) this;
        }

        public Criteria andEmpTelNotLike(String value) {
            addCriterion("emp_tel not like", value, "empTel");
            return (Criteria) this;
        }

        public Criteria andEmpTelIn(List<String> values) {
            addCriterion("emp_tel in", values, "empTel");
            return (Criteria) this;
        }

        public Criteria andEmpTelNotIn(List<String> values) {
            addCriterion("emp_tel not in", values, "empTel");
            return (Criteria) this;
        }

        public Criteria andEmpTelBetween(String value1, String value2) {
            addCriterion("emp_tel between", value1, value2, "empTel");
            return (Criteria) this;
        }

        public Criteria andEmpTelNotBetween(String value1, String value2) {
            addCriterion("emp_tel not between", value1, value2, "empTel");
            return (Criteria) this;
        }

        public Criteria andEmpAddrIsNull() {
            addCriterion("emp_addr is null");
            return (Criteria) this;
        }

        public Criteria andEmpAddrIsNotNull() {
            addCriterion("emp_addr is not null");
            return (Criteria) this;
        }

        public Criteria andEmpAddrEqualTo(String value) {
            addCriterion("emp_addr =", value, "empAddr");
            return (Criteria) this;
        }

        public Criteria andEmpAddrNotEqualTo(String value) {
            addCriterion("emp_addr <>", value, "empAddr");
            return (Criteria) this;
        }

        public Criteria andEmpAddrGreaterThan(String value) {
            addCriterion("emp_addr >", value, "empAddr");
            return (Criteria) this;
        }

        public Criteria andEmpAddrGreaterThanOrEqualTo(String value) {
            addCriterion("emp_addr >=", value, "empAddr");
            return (Criteria) this;
        }

        public Criteria andEmpAddrLessThan(String value) {
            addCriterion("emp_addr <", value, "empAddr");
            return (Criteria) this;
        }

        public Criteria andEmpAddrLessThanOrEqualTo(String value) {
            addCriterion("emp_addr <=", value, "empAddr");
            return (Criteria) this;
        }

        public Criteria andEmpAddrLike(String value) {
            addCriterion("emp_addr like", value, "empAddr");
            return (Criteria) this;
        }

        public Criteria andEmpAddrNotLike(String value) {
            addCriterion("emp_addr not like", value, "empAddr");
            return (Criteria) this;
        }

        public Criteria andEmpAddrIn(List<String> values) {
            addCriterion("emp_addr in", values, "empAddr");
            return (Criteria) this;
        }

        public Criteria andEmpAddrNotIn(List<String> values) {
            addCriterion("emp_addr not in", values, "empAddr");
            return (Criteria) this;
        }

        public Criteria andEmpAddrBetween(String value1, String value2) {
            addCriterion("emp_addr between", value1, value2, "empAddr");
            return (Criteria) this;
        }

        public Criteria andEmpAddrNotBetween(String value1, String value2) {
            addCriterion("emp_addr not between", value1, value2, "empAddr");
            return (Criteria) this;
        }

        public Criteria andEmpIdnumIsNull() {
            addCriterion("emp_idnum is null");
            return (Criteria) this;
        }

        public Criteria andEmpIdnumIsNotNull() {
            addCriterion("emp_idnum is not null");
            return (Criteria) this;
        }

        public Criteria andEmpIdnumEqualTo(String value) {
            addCriterion("emp_idnum =", value, "empIdnum");
            return (Criteria) this;
        }

        public Criteria andEmpIdnumNotEqualTo(String value) {
            addCriterion("emp_idnum <>", value, "empIdnum");
            return (Criteria) this;
        }

        public Criteria andEmpIdnumGreaterThan(String value) {
            addCriterion("emp_idnum >", value, "empIdnum");
            return (Criteria) this;
        }

        public Criteria andEmpIdnumGreaterThanOrEqualTo(String value) {
            addCriterion("emp_idnum >=", value, "empIdnum");
            return (Criteria) this;
        }

        public Criteria andEmpIdnumLessThan(String value) {
            addCriterion("emp_idnum <", value, "empIdnum");
            return (Criteria) this;
        }

        public Criteria andEmpIdnumLessThanOrEqualTo(String value) {
            addCriterion("emp_idnum <=", value, "empIdnum");
            return (Criteria) this;
        }

        public Criteria andEmpIdnumLike(String value) {
            addCriterion("emp_idnum like", value, "empIdnum");
            return (Criteria) this;
        }

        public Criteria andEmpIdnumNotLike(String value) {
            addCriterion("emp_idnum not like", value, "empIdnum");
            return (Criteria) this;
        }

        public Criteria andEmpIdnumIn(List<String> values) {
            addCriterion("emp_idnum in", values, "empIdnum");
            return (Criteria) this;
        }

        public Criteria andEmpIdnumNotIn(List<String> values) {
            addCriterion("emp_idnum not in", values, "empIdnum");
            return (Criteria) this;
        }

        public Criteria andEmpIdnumBetween(String value1, String value2) {
            addCriterion("emp_idnum between", value1, value2, "empIdnum");
            return (Criteria) this;
        }

        public Criteria andEmpIdnumNotBetween(String value1, String value2) {
            addCriterion("emp_idnum not between", value1, value2, "empIdnum");
            return (Criteria) this;
        }

        public Criteria andEmpBankaccountIsNull() {
            addCriterion("emp_bankaccount is null");
            return (Criteria) this;
        }

        public Criteria andEmpBankaccountIsNotNull() {
            addCriterion("emp_bankaccount is not null");
            return (Criteria) this;
        }

        public Criteria andEmpBankaccountEqualTo(String value) {
            addCriterion("emp_bankaccount =", value, "empBankaccount");
            return (Criteria) this;
        }

        public Criteria andEmpBankaccountNotEqualTo(String value) {
            addCriterion("emp_bankaccount <>", value, "empBankaccount");
            return (Criteria) this;
        }

        public Criteria andEmpBankaccountGreaterThan(String value) {
            addCriterion("emp_bankaccount >", value, "empBankaccount");
            return (Criteria) this;
        }

        public Criteria andEmpBankaccountGreaterThanOrEqualTo(String value) {
            addCriterion("emp_bankaccount >=", value, "empBankaccount");
            return (Criteria) this;
        }

        public Criteria andEmpBankaccountLessThan(String value) {
            addCriterion("emp_bankaccount <", value, "empBankaccount");
            return (Criteria) this;
        }

        public Criteria andEmpBankaccountLessThanOrEqualTo(String value) {
            addCriterion("emp_bankaccount <=", value, "empBankaccount");
            return (Criteria) this;
        }

        public Criteria andEmpBankaccountLike(String value) {
            addCriterion("emp_bankaccount like", value, "empBankaccount");
            return (Criteria) this;
        }

        public Criteria andEmpBankaccountNotLike(String value) {
            addCriterion("emp_bankaccount not like", value, "empBankaccount");
            return (Criteria) this;
        }

        public Criteria andEmpBankaccountIn(List<String> values) {
            addCriterion("emp_bankaccount in", values, "empBankaccount");
            return (Criteria) this;
        }

        public Criteria andEmpBankaccountNotIn(List<String> values) {
            addCriterion("emp_bankaccount not in", values, "empBankaccount");
            return (Criteria) this;
        }

        public Criteria andEmpBankaccountBetween(String value1, String value2) {
            addCriterion("emp_bankaccount between", value1, value2, "empBankaccount");
            return (Criteria) this;
        }

        public Criteria andEmpBankaccountNotBetween(String value1, String value2) {
            addCriterion("emp_bankaccount not between", value1, value2, "empBankaccount");
            return (Criteria) this;
        }

        public Criteria andEmpUsernameIsNull() {
            addCriterion("emp_username is null");
            return (Criteria) this;
        }

        public Criteria andEmpUsernameIsNotNull() {
            addCriterion("emp_username is not null");
            return (Criteria) this;
        }

        public Criteria andEmpUsernameEqualTo(String value) {
            addCriterion("emp_username =", value, "empUsername");
            return (Criteria) this;
        }

        public Criteria andEmpUsernameNotEqualTo(String value) {
            addCriterion("emp_username <>", value, "empUsername");
            return (Criteria) this;
        }

        public Criteria andEmpUsernameGreaterThan(String value) {
            addCriterion("emp_username >", value, "empUsername");
            return (Criteria) this;
        }

        public Criteria andEmpUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("emp_username >=", value, "empUsername");
            return (Criteria) this;
        }

        public Criteria andEmpUsernameLessThan(String value) {
            addCriterion("emp_username <", value, "empUsername");
            return (Criteria) this;
        }

        public Criteria andEmpUsernameLessThanOrEqualTo(String value) {
            addCriterion("emp_username <=", value, "empUsername");
            return (Criteria) this;
        }

        public Criteria andEmpUsernameLike(String value) {
            addCriterion("emp_username like", value, "empUsername");
            return (Criteria) this;
        }

        public Criteria andEmpUsernameNotLike(String value) {
            addCriterion("emp_username not like", value, "empUsername");
            return (Criteria) this;
        }

        public Criteria andEmpUsernameIn(List<String> values) {
            addCriterion("emp_username in", values, "empUsername");
            return (Criteria) this;
        }

        public Criteria andEmpUsernameNotIn(List<String> values) {
            addCriterion("emp_username not in", values, "empUsername");
            return (Criteria) this;
        }

        public Criteria andEmpUsernameBetween(String value1, String value2) {
            addCriterion("emp_username between", value1, value2, "empUsername");
            return (Criteria) this;
        }

        public Criteria andEmpUsernameNotBetween(String value1, String value2) {
            addCriterion("emp_username not between", value1, value2, "empUsername");
            return (Criteria) this;
        }

        public Criteria andEmpPwdIsNull() {
            addCriterion("emp_pwd is null");
            return (Criteria) this;
        }

        public Criteria andEmpPwdIsNotNull() {
            addCriterion("emp_pwd is not null");
            return (Criteria) this;
        }

        public Criteria andEmpPwdEqualTo(String value) {
            addCriterion("emp_pwd =", value, "empPwd");
            return (Criteria) this;
        }

        public Criteria andEmpPwdNotEqualTo(String value) {
            addCriterion("emp_pwd <>", value, "empPwd");
            return (Criteria) this;
        }

        public Criteria andEmpPwdGreaterThan(String value) {
            addCriterion("emp_pwd >", value, "empPwd");
            return (Criteria) this;
        }

        public Criteria andEmpPwdGreaterThanOrEqualTo(String value) {
            addCriterion("emp_pwd >=", value, "empPwd");
            return (Criteria) this;
        }

        public Criteria andEmpPwdLessThan(String value) {
            addCriterion("emp_pwd <", value, "empPwd");
            return (Criteria) this;
        }

        public Criteria andEmpPwdLessThanOrEqualTo(String value) {
            addCriterion("emp_pwd <=", value, "empPwd");
            return (Criteria) this;
        }

        public Criteria andEmpPwdLike(String value) {
            addCriterion("emp_pwd like", value, "empPwd");
            return (Criteria) this;
        }

        public Criteria andEmpPwdNotLike(String value) {
            addCriterion("emp_pwd not like", value, "empPwd");
            return (Criteria) this;
        }

        public Criteria andEmpPwdIn(List<String> values) {
            addCriterion("emp_pwd in", values, "empPwd");
            return (Criteria) this;
        }

        public Criteria andEmpPwdNotIn(List<String> values) {
            addCriterion("emp_pwd not in", values, "empPwd");
            return (Criteria) this;
        }

        public Criteria andEmpPwdBetween(String value1, String value2) {
            addCriterion("emp_pwd between", value1, value2, "empPwd");
            return (Criteria) this;
        }

        public Criteria andEmpPwdNotBetween(String value1, String value2) {
            addCriterion("emp_pwd not between", value1, value2, "empPwd");
            return (Criteria) this;
        }

        public Criteria andEmpDidIsNull() {
            addCriterion("emp_did is null");
            return (Criteria) this;
        }

        public Criteria andEmpDidIsNotNull() {
            addCriterion("emp_did is not null");
            return (Criteria) this;
        }

        public Criteria andEmpDidEqualTo(Integer value) {
            addCriterion("emp_did =", value, "empDid");
            return (Criteria) this;
        }

        public Criteria andEmpDidNotEqualTo(Integer value) {
            addCriterion("emp_did <>", value, "empDid");
            return (Criteria) this;
        }

        public Criteria andEmpDidGreaterThan(Integer value) {
            addCriterion("emp_did >", value, "empDid");
            return (Criteria) this;
        }

        public Criteria andEmpDidGreaterThanOrEqualTo(Integer value) {
            addCriterion("emp_did >=", value, "empDid");
            return (Criteria) this;
        }

        public Criteria andEmpDidLessThan(Integer value) {
            addCriterion("emp_did <", value, "empDid");
            return (Criteria) this;
        }

        public Criteria andEmpDidLessThanOrEqualTo(Integer value) {
            addCriterion("emp_did <=", value, "empDid");
            return (Criteria) this;
        }

        public Criteria andEmpDidIn(List<Integer> values) {
            addCriterion("emp_did in", values, "empDid");
            return (Criteria) this;
        }

        public Criteria andEmpDidNotIn(List<Integer> values) {
            addCriterion("emp_did not in", values, "empDid");
            return (Criteria) this;
        }

        public Criteria andEmpDidBetween(Integer value1, Integer value2) {
            addCriterion("emp_did between", value1, value2, "empDid");
            return (Criteria) this;
        }

        public Criteria andEmpDidNotBetween(Integer value1, Integer value2) {
            addCriterion("emp_did not between", value1, value2, "empDid");
            return (Criteria) this;
        }

        public Criteria andEmpRidIsNull() {
            addCriterion("emp_rid is null");
            return (Criteria) this;
        }

        public Criteria andEmpRidIsNotNull() {
            addCriterion("emp_rid is not null");
            return (Criteria) this;
        }

        public Criteria andEmpRidEqualTo(Integer value) {
            addCriterion("emp_rid =", value, "empRid");
            return (Criteria) this;
        }

        public Criteria andEmpRidNotEqualTo(Integer value) {
            addCriterion("emp_rid <>", value, "empRid");
            return (Criteria) this;
        }

        public Criteria andEmpRidGreaterThan(Integer value) {
            addCriterion("emp_rid >", value, "empRid");
            return (Criteria) this;
        }

        public Criteria andEmpRidGreaterThanOrEqualTo(Integer value) {
            addCriterion("emp_rid >=", value, "empRid");
            return (Criteria) this;
        }

        public Criteria andEmpRidLessThan(Integer value) {
            addCriterion("emp_rid <", value, "empRid");
            return (Criteria) this;
        }

        public Criteria andEmpRidLessThanOrEqualTo(Integer value) {
            addCriterion("emp_rid <=", value, "empRid");
            return (Criteria) this;
        }

        public Criteria andEmpRidIn(List<Integer> values) {
            addCriterion("emp_rid in", values, "empRid");
            return (Criteria) this;
        }

        public Criteria andEmpRidNotIn(List<Integer> values) {
            addCriterion("emp_rid not in", values, "empRid");
            return (Criteria) this;
        }

        public Criteria andEmpRidBetween(Integer value1, Integer value2) {
            addCriterion("emp_rid between", value1, value2, "empRid");
            return (Criteria) this;
        }

        public Criteria andEmpRidNotBetween(Integer value1, Integer value2) {
            addCriterion("emp_rid not between", value1, value2, "empRid");
            return (Criteria) this;
        }

        public Criteria andEmpEmailIsNull() {
            addCriterion("emp_email is null");
            return (Criteria) this;
        }

        public Criteria andEmpEmailIsNotNull() {
            addCriterion("emp_email is not null");
            return (Criteria) this;
        }

        public Criteria andEmpEmailEqualTo(String value) {
            addCriterion("emp_email =", value, "empEmail");
            return (Criteria) this;
        }

        public Criteria andEmpEmailNotEqualTo(String value) {
            addCriterion("emp_email <>", value, "empEmail");
            return (Criteria) this;
        }

        public Criteria andEmpEmailGreaterThan(String value) {
            addCriterion("emp_email >", value, "empEmail");
            return (Criteria) this;
        }

        public Criteria andEmpEmailGreaterThanOrEqualTo(String value) {
            addCriterion("emp_email >=", value, "empEmail");
            return (Criteria) this;
        }

        public Criteria andEmpEmailLessThan(String value) {
            addCriterion("emp_email <", value, "empEmail");
            return (Criteria) this;
        }

        public Criteria andEmpEmailLessThanOrEqualTo(String value) {
            addCriterion("emp_email <=", value, "empEmail");
            return (Criteria) this;
        }

        public Criteria andEmpEmailLike(String value) {
            addCriterion("emp_email like", value, "empEmail");
            return (Criteria) this;
        }

        public Criteria andEmpEmailNotLike(String value) {
            addCriterion("emp_email not like", value, "empEmail");
            return (Criteria) this;
        }

        public Criteria andEmpEmailIn(List<String> values) {
            addCriterion("emp_email in", values, "empEmail");
            return (Criteria) this;
        }

        public Criteria andEmpEmailNotIn(List<String> values) {
            addCriterion("emp_email not in", values, "empEmail");
            return (Criteria) this;
        }

        public Criteria andEmpEmailBetween(String value1, String value2) {
            addCriterion("emp_email between", value1, value2, "empEmail");
            return (Criteria) this;
        }

        public Criteria andEmpEmailNotBetween(String value1, String value2) {
            addCriterion("emp_email not between", value1, value2, "empEmail");
            return (Criteria) this;
        }

        public Criteria andEmpStatusIsNull() {
            addCriterion("emp_status is null");
            return (Criteria) this;
        }

        public Criteria andEmpStatusIsNotNull() {
            addCriterion("emp_status is not null");
            return (Criteria) this;
        }

        public Criteria andEmpStatusEqualTo(Integer value) {
            addCriterion("emp_status =", value, "empStatus");
            return (Criteria) this;
        }

        public Criteria andEmpStatusNotEqualTo(Integer value) {
            addCriterion("emp_status <>", value, "empStatus");
            return (Criteria) this;
        }

        public Criteria andEmpStatusGreaterThan(Integer value) {
            addCriterion("emp_status >", value, "empStatus");
            return (Criteria) this;
        }

        public Criteria andEmpStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("emp_status >=", value, "empStatus");
            return (Criteria) this;
        }

        public Criteria andEmpStatusLessThan(Integer value) {
            addCriterion("emp_status <", value, "empStatus");
            return (Criteria) this;
        }

        public Criteria andEmpStatusLessThanOrEqualTo(Integer value) {
            addCriterion("emp_status <=", value, "empStatus");
            return (Criteria) this;
        }

        public Criteria andEmpStatusIn(List<Integer> values) {
            addCriterion("emp_status in", values, "empStatus");
            return (Criteria) this;
        }

        public Criteria andEmpStatusNotIn(List<Integer> values) {
            addCriterion("emp_status not in", values, "empStatus");
            return (Criteria) this;
        }

        public Criteria andEmpStatusBetween(Integer value1, Integer value2) {
            addCriterion("emp_status between", value1, value2, "empStatus");
            return (Criteria) this;
        }

        public Criteria andEmpStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("emp_status not between", value1, value2, "empStatus");
            return (Criteria) this;
        }

        public Criteria andEmpBak1IsNull() {
            addCriterion("emp_bak1 is null");
            return (Criteria) this;
        }

        public Criteria andEmpBak1IsNotNull() {
            addCriterion("emp_bak1 is not null");
            return (Criteria) this;
        }

        public Criteria andEmpBak1EqualTo(String value) {
            addCriterion("emp_bak1 =", value, "empBak1");
            return (Criteria) this;
        }

        public Criteria andEmpBak1NotEqualTo(String value) {
            addCriterion("emp_bak1 <>", value, "empBak1");
            return (Criteria) this;
        }

        public Criteria andEmpBak1GreaterThan(String value) {
            addCriterion("emp_bak1 >", value, "empBak1");
            return (Criteria) this;
        }

        public Criteria andEmpBak1GreaterThanOrEqualTo(String value) {
            addCriterion("emp_bak1 >=", value, "empBak1");
            return (Criteria) this;
        }

        public Criteria andEmpBak1LessThan(String value) {
            addCriterion("emp_bak1 <", value, "empBak1");
            return (Criteria) this;
        }

        public Criteria andEmpBak1LessThanOrEqualTo(String value) {
            addCriterion("emp_bak1 <=", value, "empBak1");
            return (Criteria) this;
        }

        public Criteria andEmpBak1Like(String value) {
            addCriterion("emp_bak1 like", value, "empBak1");
            return (Criteria) this;
        }

        public Criteria andEmpBak1NotLike(String value) {
            addCriterion("emp_bak1 not like", value, "empBak1");
            return (Criteria) this;
        }

        public Criteria andEmpBak1In(List<String> values) {
            addCriterion("emp_bak1 in", values, "empBak1");
            return (Criteria) this;
        }

        public Criteria andEmpBak1NotIn(List<String> values) {
            addCriterion("emp_bak1 not in", values, "empBak1");
            return (Criteria) this;
        }

        public Criteria andEmpBak1Between(String value1, String value2) {
            addCriterion("emp_bak1 between", value1, value2, "empBak1");
            return (Criteria) this;
        }

        public Criteria andEmpBak1NotBetween(String value1, String value2) {
            addCriterion("emp_bak1 not between", value1, value2, "empBak1");
            return (Criteria) this;
        }

        public Criteria andEmpBak2IsNull() {
            addCriterion("emp_bak2 is null");
            return (Criteria) this;
        }

        public Criteria andEmpBak2IsNotNull() {
            addCriterion("emp_bak2 is not null");
            return (Criteria) this;
        }

        public Criteria andEmpBak2EqualTo(String value) {
            addCriterion("emp_bak2 =", value, "empBak2");
            return (Criteria) this;
        }

        public Criteria andEmpBak2NotEqualTo(String value) {
            addCriterion("emp_bak2 <>", value, "empBak2");
            return (Criteria) this;
        }

        public Criteria andEmpBak2GreaterThan(String value) {
            addCriterion("emp_bak2 >", value, "empBak2");
            return (Criteria) this;
        }

        public Criteria andEmpBak2GreaterThanOrEqualTo(String value) {
            addCriterion("emp_bak2 >=", value, "empBak2");
            return (Criteria) this;
        }

        public Criteria andEmpBak2LessThan(String value) {
            addCriterion("emp_bak2 <", value, "empBak2");
            return (Criteria) this;
        }

        public Criteria andEmpBak2LessThanOrEqualTo(String value) {
            addCriterion("emp_bak2 <=", value, "empBak2");
            return (Criteria) this;
        }

        public Criteria andEmpBak2Like(String value) {
            addCriterion("emp_bak2 like", value, "empBak2");
            return (Criteria) this;
        }

        public Criteria andEmpBak2NotLike(String value) {
            addCriterion("emp_bak2 not like", value, "empBak2");
            return (Criteria) this;
        }

        public Criteria andEmpBak2In(List<String> values) {
            addCriterion("emp_bak2 in", values, "empBak2");
            return (Criteria) this;
        }

        public Criteria andEmpBak2NotIn(List<String> values) {
            addCriterion("emp_bak2 not in", values, "empBak2");
            return (Criteria) this;
        }

        public Criteria andEmpBak2Between(String value1, String value2) {
            addCriterion("emp_bak2 between", value1, value2, "empBak2");
            return (Criteria) this;
        }

        public Criteria andEmpBak2NotBetween(String value1, String value2) {
            addCriterion("emp_bak2 not between", value1, value2, "empBak2");
            return (Criteria) this;
        }

        public Criteria andEmpBak3IsNull() {
            addCriterion("emp_bak3 is null");
            return (Criteria) this;
        }

        public Criteria andEmpBak3IsNotNull() {
            addCriterion("emp_bak3 is not null");
            return (Criteria) this;
        }

        public Criteria andEmpBak3EqualTo(String value) {
            addCriterion("emp_bak3 =", value, "empBak3");
            return (Criteria) this;
        }

        public Criteria andEmpBak3NotEqualTo(String value) {
            addCriterion("emp_bak3 <>", value, "empBak3");
            return (Criteria) this;
        }

        public Criteria andEmpBak3GreaterThan(String value) {
            addCriterion("emp_bak3 >", value, "empBak3");
            return (Criteria) this;
        }

        public Criteria andEmpBak3GreaterThanOrEqualTo(String value) {
            addCriterion("emp_bak3 >=", value, "empBak3");
            return (Criteria) this;
        }

        public Criteria andEmpBak3LessThan(String value) {
            addCriterion("emp_bak3 <", value, "empBak3");
            return (Criteria) this;
        }

        public Criteria andEmpBak3LessThanOrEqualTo(String value) {
            addCriterion("emp_bak3 <=", value, "empBak3");
            return (Criteria) this;
        }

        public Criteria andEmpBak3Like(String value) {
            addCriterion("emp_bak3 like", value, "empBak3");
            return (Criteria) this;
        }

        public Criteria andEmpBak3NotLike(String value) {
            addCriterion("emp_bak3 not like", value, "empBak3");
            return (Criteria) this;
        }

        public Criteria andEmpBak3In(List<String> values) {
            addCriterion("emp_bak3 in", values, "empBak3");
            return (Criteria) this;
        }

        public Criteria andEmpBak3NotIn(List<String> values) {
            addCriterion("emp_bak3 not in", values, "empBak3");
            return (Criteria) this;
        }

        public Criteria andEmpBak3Between(String value1, String value2) {
            addCriterion("emp_bak3 between", value1, value2, "empBak3");
            return (Criteria) this;
        }

        public Criteria andEmpBak3NotBetween(String value1, String value2) {
            addCriterion("emp_bak3 not between", value1, value2, "empBak3");
            return (Criteria) this;
        }
    }

    /**
     */
    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}